menu: Use a motion event controller
authorMatthias Clasen <mclasen@redhat.com>
Tue, 2 Jan 2018 18:22:36 +0000 (13:22 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 16 Jan 2018 19:14:10 +0000 (14:14 -0500)
commit06605d54f25735a007f3d4ae5df1328d70fd6028
tree420917041612b24ed74bd2526305a9421e3f8b51
parent6acf276a1ade39e59375840cceafc8396b8cf4ce
menu: Use a motion event controller

This lets us replace the ::enter/leave-notify-event handlers.
Not that there is a FIXME here - we currently can't get the
crossing mode from the event controller, so we have to fall
back to gtk_get_current_event().
gtk/gtkmenu.c
gtk/gtkmenuprivate.h